import { createApp } from 'vue'
// 1.1 引入pinia
import { createPinia } from 'pinia'
// 2.1. 引入pinia数据持久化插件
import piniaPluginPersist from 'pinia-plugin-persist'
import './style.css'
import App from './App.vue'
// 1.2 实例化pinia
const pinia = createPinia()
// 2.2
pinia.use(piniaPluginPersist)
// 1.3 挂载到vue
createApp(App).use(pinia).mount('#app')
